package com.yx.changdao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yx.changdao.common.entity.CommunityTownship;
import com.yx.changdao.common.exception.AlertException;

import java.util.List;


/**
 * @Description: <br/>
 * 乡镇
 * <p>
 * <br/>
 * @Auther: walter
 * @create 2020/04/18 15:48
 */
public interface CommunityTownshipService extends IService<CommunityTownship> {
    /**
     * 删除村/社区
     * @param id
     * @return
     * @throws AlertException
     */
    boolean removeVillage(Integer id) throws AlertException;

}
